Design Dynamic Coupling Measurement of Distributed Object Oriented Software Using Trace Events
نویسندگان
چکیده
Problem statement: A common way to define and measure coupling is through structural properties and static code analysis. However, because of polymorphism, dynamic binding and the common presence of unused code in commercial software, the resulting coupling measures are imprecise as they do not perfectly reflect the actual coupling taking place among classes at run-time. For example, when using static analysis to measure coupling, it is difficult and sometimes impossible to determine what actual methods can be invoked from a client class if those methods are overridden in the subclasses of the server classes. Approach: Coupling measurement has traditionally been performed using static code analysis, because most of the existing work was done on non-object oriented code and because dynamic code analysis is more expensive and complex to perform. We refer to this type of coupling as dynamic coupling. In this study we propose a dynamic and efficient measurement technique over object oriented software. Result: We propose a hybrid model to measure the dynamic coupling present in distributed object oriented software. The proposed method has three steps; they are instrumentation process, post process and coupling measurement. First, the instrumentation process is performed. In this process, to trace method calls, a modified instrumented JVM has been used. During this process, three trace files, .prf, .clp and .svp are created. In the second step, the information present in these files, are merged. At the end of this step, the merged detailed trace of each Jvms contains pointers to the merged trace files of the other JVM’s such that the path of each remote call from the client to the server can be uniquely identified. Conclusion: Finally, the coupling metrics are measured dynamically. The proposed system was implemented in JAVA. The implementation results show that the proposed system effectively measures the dynamic coupling.
منابع مشابه
Analysis of Static Coupling Versus Dynamic Coupling in a Distributed Object Oriented System Based on Trace Events
Software metrics play a key role in the planning and in the control of software development projects. The Estimation of Coupling helps in the development of quality Software Products as well as in the maintenance. They reason out the structural complexity of software and to envisage the quality of the Software Product. Quality attributes such as Fault-proneness, ripple effect of changes and cha...
متن کاملRun Time Coupling Measurement in a Distributed Object Oriented Systems
Software metrics play a key role in the planning and in the control of software development projects. The Estimation of Coupling helps in the development of quality Software Products as well as in the maintenance. They reason out the structural complexity of software and to envisage the quality of the Software Product. Quality attributes such as Fault-proneness, ripple effect of changes and cha...
متن کاملA Framework for Dynamic Software Analysis & Application Performance Monitoring
The objective of this research paper is to analyze software product that requires efficient measures to accurately monitor the internal software quality, based on modular design. During the course of software development life cycle, it involves defect avoidance rather than defect removal. Software metrics have been widely used to measure internal quality attributes such as coupling and cohesion...
متن کاملComponent-based Architecture Recovery from Object Oriented Systems Using Existing Dependencies among Classes
Software Architecture modeling and representation is very important in software development process. Software Architecture provides high level view which is very useful in all phases of software life cycle. Component based software architecture is beneficial as it is useful for reusing system parts represented as components. Most of the existing object oriented systems do not have reliable soft...
متن کاملApplying design-metrics to object-oriented frameworks
We present a novel way of using object oriented design metrics as to support for the incremental development of object oriented programs. Based on a quality model (factor-criteria-metrics model), so-called multi-metrics relate a number of simple structural measurements to design principles and rules. Single components of an object oriented program like classes or subsystems are analyzed to dete...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2011